home *** CD-ROM | disk | FTP | other *** search
/ ShareWare OnLine 2 / ShareWare OnLine Volume 2 (CMS Software)(1993).iso / os2 / oscan104.zip / OSCN104.DOC < prev    next >
Text File  |  1993-05-03  |  44KB  |  1,155 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.                       OS2SCAN FOR OS/2 Version 9.15V104
  19.                 Copyright (C) 1989 - 1993 by McAfee Associates
  20.                              All rights reserved.
  21.  
  22.                        Documentation by Aryeh Goretsky.
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.           McAfee Associates                (408) 988-3832 office
  49.           3350 Scott Blvd, Bldg. 14        (408) 970-9727 fax
  50.           Santa Clara, CA  95054           (408) 988-4004 BBS (25 lines)
  51.           U.S.A.                           USR HST/v.32/v.42bis/MNP1-5
  52.                                            CompuServe        GO MCAFEE
  53.                                            InterNet support@mcafee.COM
  54.  
  55.  
  56.  
  57.  
  58.                               TABLE OF CONTENTS:
  59.  
  60.  
  61.           WHAT'S NEW . . . . . . . . . . . . . . . . . . . . . . . . . .2
  62.             - New features added in this release
  63.             - System Requirements
  64.  
  65.           OVERVIEW . . . . . . . . . . . . . . . . . . . . . . . . . . .3
  66.             - Detection of known viruses
  67.             - Detection of new and unknown viruses
  68.  
  69.           AUTHENTICITY . . . . . . . . . . . . . . . . . . . . . . . . .5
  70.             - How to verify the OS2SCAN.EXE program file
  71.  
  72.           COMMAND SUMMARY. . . . . . . . . . . . . . . . . . . . . . . .6
  73.             - One-line description of switches
  74.  
  75.           OPTIONS. . . . . . . . . . . . . . . . . . . . . . . . . . . .8
  76.             - Detailed explanation of switches
  77.  
  78.           EXIT CODES . . . . . . . . . . . . . . . . . . . . . . . . . .13
  79.             - ERRORLEVEL's returned by OS2SCAN for REXX scripts
  80.  
  81.           EXAMPLES . . . . . . . . . . . . . . . . . . . . . . . . . . .14
  82.             - Samples of frequently-used options
  83.  
  84.           VIRUS REMOVAL. . . . . . . . . . . . . . . . . . . . . . . . .15
  85.             - How to manually remove a virus
  86.  
  87.           REGISTRATION . . . . . . . . . . . . . . . . . . . . . . . . .16
  88.             - How to register OS2SCAN
  89.  
  90.           TECHNICAL SUPPORT INFORMATION  . . . . . . . . . . . . . . . .17
  91.            - Information you should have ready when calling
  92.  
  93.           OBTAINING THE LATEST VERSION OF OS2SCAN. . . . . . . . . . . .18
  94.            - BBS, CompuServe, and Internet access to OS2SCAN
  95.  
  96.           APPENDIX A . . . . . . . . . . . . . . . . . . . . . . . . . .19
  97.            - Creating a virus string file with the /EXT option
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.                                     Page 1
  109.  
  110. OS2SCAN FOR OS/2 Version 9.15V104                         Page 2
  111.  
  112.  
  113.           WHAT'S NEW
  114.  
  115.           Beginning with this release, OS2SCAN combines the functionality
  116.           of NETSCAN for OS/2 into OS2SCAN.  NETSCAN for OS/2 will no
  117.           longer be provided by McAfee Associates.  Instead, use VIRUSCAN
  118.           to scan all local and network drives for viruses.
  119.  
  120.                Version 103 was skipped due to a Trojan horse bearing
  121.           that version number reported from Arizona.
  122.  
  123.           Features added in the Version 104 release include:
  124.  
  125.           ·    The /BMP switch, which is used to scan an OS/2 Boot
  126.                Manager partition and its associated boot sector for
  127.                viruses.
  128.  
  129.           ·    ERRORLEVEL support for writing REXX scripts.
  130.  
  131.           ·    Detection of 219 new viruses was added, bringing the
  132.                total number of known viruses to 1,353, or counting
  133.                variants, 2,049 viruses.
  134.  
  135.           Like it's DOS-based counterpart, VIRUSCAN (for DOS), OS2SCAN
  136.           searches PC's for computer viruses in memory, the master boot
  137.           record (partition table), boot sector, and files.  However,
  138.           OS2SCAN contains several important differences:
  139.  
  140.           ·     Since OS/2 operates in a protected mode environment it can
  141.                 only check its own area of memory or "memory image" for
  142.                 viruses.  Viruses in a DOS session or VDM will not be
  143.                 detected in memory by OS2SCAN.  To protect against viruses
  144.                 in a DOS session or VDM, use the VSHIELD (for DOS) virus
  145.                 prevention TSR.
  146.  
  147.           ·     OS2SCAN does not have the /CHKHI, /M, /MAINT, /NOMEM,
  148.                 or /UNATTEND switches that VIRUSCAN does.
  149.  
  150.           ·     The /SAVE switch does not modify the OS2SCAN.EXE file.
  151.                 Instead, it creates an OS2SCAN.INI file.
  152.  
  153.  
  154. OS2SCAN FOR OS/2 Version 9.15V104                         Page 3
  155.  
  156.  
  157.           SYSTEM REQUIREMENTS
  158.  
  159.                OS2SCAN requires IBM OS/2 Version 2.00(GA) or above.  Use
  160.           the SYSLEVEL command to determine what version of OS/2 you are
  161.           running.
  162.  
  163.                OS2SCAN is designed to check PC's and file servers for
  164.           viruses and is compatible with all network operating systems
  165.           including 3Com, Artisoft LanTastic, AT&T StarLAN, DEC Pathworks
  166.           IBM LAN Server, Microsoft LAN Manager, and Novell NetWare.
  167.           Contact McAfee Associates if you do not see your NOS listed.
  168.           If you have a Novell NetWare/386 server, you may wish to use
  169.           the NETSHIELD NetWare Loadable Module for virus prevention in
  170.           conjunction with OS2SCAN.
  171.  
  172.           NOTE:  WRITE-PROTECT THE FLOPPY DISK CONTAINING THE OS2SCAN FOR
  173.                  OS/2 (OS2SCAN.EXE) PROGRAM BEFORE SCANNING TO PREVENT IT
  174.                  FROM BECOMING INFECTED BY A COMPUTER VIRUS.
  175.  
  176.  
  177.           OVERVIEW (Known Virus Detection)
  178.  
  179.                OS2SCAN FOR OS/2 Version 9.15V104 (filename OS2SCAN.EXE)
  180.           identifies all 1,353 known computer viruses and their variants.
  181.           Some viruses have been modified so that more than one "strain"
  182.           exists.  Counting such modifications, 2,049 viruses exist.
  183.  
  184.                All known viruses infect one or more of the following
  185.           areas: the hard disk partition table (alias Master Boot Record);
  186.           the Boot Sector of disks; or one or more executable files on
  187.           the system.  Executable files include operating system files,
  188.           .COM files, .EXE files, overlay files, or any other files
  189.           containing program code.  A virus that infects more than one
  190.           area, such as a boot sector and an executable file is called
  191.           a multipartite virus.
  192.  
  193.                OS2SCAN checks files, subdirectories, diskettes or entire
  194.           systems for pre-existing computer virus infections.  It will
  195.           identify the virus infecting the system and the area where it
  196.           was found, giving the name of the virus as well as the I.D.
  197.           code used with CLEAN-UP to remove it.
  198.  
  199.                Infected files can be removed using the /D switch in OS2SCAN
  200.           to erase the file, or with the CLEAN-UP universal virus removal
  201.           (disinfection) program.  CLEAN-UP is recommended because in most
  202.           cases it will eliminate the virus and fully restore infected
  203.           programs or system areas to normal operation.  CLEAN-UP is
  204.           available in both DOS and OS/2 versions.
  205.  
  206.                The accompanying VIRLIST.TXT file lists describes all
  207.           viruses identified by OS2SCAN and their associated I.D. codes
  208.           for removal by CLEAN-UP.
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219. OS2SCAN FOR OS/2 Version 9.15V104                         Page 4
  220.  
  221.  
  222.           OVERVIEW (Unknown Virus Detection)
  223.  
  224.               OS2SCAN checks for new or unknown viruses by comparing
  225.           files against previously-recorded validation (checksum) data.
  226.           OS2SCAN has two levels of validation which are stored in three
  227.           separate ways:
  228.  
  229.           ·     A simple 10-byte long validation checksum may be appended
  230.                 to .COM and .EXE files.  If a file has been modified, it
  231.                 no longer matches the checksum and OS2SCAN reports the
  232.                 file may be infected.  (/AV, /CV, /RV switches)
  233.  
  234.           ·     An enhanced 52-byte validation and recovery data checksum
  235.                 can also be created.  This can be appended to the end of
  236.                 files like the 10-byte checksum, or stored in a separate
  237.                 log file which can be offline (e.g., on floppies) for
  238.                 recovery purposes.  CLEAN-UP can restore infected files,
  239.                 partition tables, or boot sectors using this information.
  240.                 (/AG, /CG, /RG switches and /AF, /CF, /RF switches)
  241.  
  242.           NOTE:  OS2SCAN does NOT add codes to the partition table, boot
  243.                  sector, or system files.  Instead, a separate hidden file
  244.                  will be created in the root directory named SCANVAL.VAL
  245.                  containing data for these areas.
  246.  
  247.           NOTE:  Files which are self-checking (e.g., Lotus 1-2-3) should
  248.                  not be validated with the /AV (Add Validation) or /AG
  249.                  (Add Generic) switches which modify files.  Instead, use
  250.                  the /AF (Add File) switch.
  251.  
  252.                OS2SCAN also checks for new or unknown viruses by searching
  253.           for Generic or Family virus strings.  These are strings that
  254.           have been found repeatedly in different viruses.  Since virus
  255.           writers may use the older pieces of code for new viruses, this
  256.           allows OS2SCAN to detect viruses which have not been written yet.
  257.  
  258.                OS2SCAN can be updated to search for new viruses by an
  259.           External Virus Data File, which allows the user to input new
  260.           search strings for viruses. (/EXT switch)
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274. OS2SCAN FOR OS/2 Version 9.15V104                         Page 5
  275.  
  276.  
  277.           AUTHENTICITY
  278.  
  279.                Before using OS2SCAN for the first time, verify that it has
  280.           not been tampered with or infected by a virus by using the
  281.           enclosed VALIDATE for OS/2 (OS2VAL.EXE) program.  For
  282.           instructions on using OS2VAL, please read the OS2VAL.DOC file.
  283.  
  284.                The validation results for Version 9.15V104 should be:
  285.  
  286.                         FILE NAME: OS2SCAN.EXE
  287.                              SIZE: 206,064
  288.                              DATE: 05-03-1993
  289.               FILE AUTHENTICATION
  290.                    Check Method 1: 0B56
  291.                    Check Method 2: 108F
  292.  
  293.           NOTE:  If you run VALIDATE.COM for DOS against OS2SCAN.EXE, a
  294.                  different Check Method 1 value will be returned.  Do not
  295.                  use VALIDATE.COM to validate OS2SCAN.EXE
  296.  
  297.           If your copy of OS2SCAN differs, it may have been damaged.
  298.           Always obtain your copy of OS2SCAN from a known source.  The
  299.           latest version of OS2SCAN and validation data for OS2SCAN.EXE
  300.           can be obtained from McAfee Associates' bulletin board system
  301.           at (408) 988-4004 or from the McAfee Virus Help Forum on
  302.           CompuServe (GO MCAFEE), or the mcafee.COM anonymous ftp site
  303.           on the Internet.
  304.  
  305.                OS2SCAN performs a self-check when run.  If OS2SCAN has
  306.           been modified in any way, a warning will be displayed and the
  307.           user will be prompted to either continue or quit.  OS2SCAN can
  308.           still check for viruses.  However, if OS2SCAN reports that it
  309.           has been damaged, it is recommended that a new copy be obtained.
  310.  
  311.                All of McAfee Associates' programs are archived with
  312.           Version 1.10 of PKWare's PKZIP Authentic File Verification.
  313.           When unzipped with Version 1.10 of PKWare's PKUNZIP program,
  314.           an "-AV" will be displayed after each file is unzipped and an
  315.           "Authentic Files Verified! # NWN405  Zip Source: McAFEE
  316.           ASSOCIATES" will appear once all files are unzipped.
  317.  
  318.           NOTE:  If you do not receive the Authentic File Verification
  319.                  messages, you may be using a different version of
  320.                  PKUNZIP, such as V1.93α or V2.04.  Use PKUNZIP Version
  321.                  1.10 to unzip files if you wish to have Authenticity
  322.                  Verification displayed as files are unzipped.
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329. OS2SCAN FOR OS/2 Version 9.15V104                         Page 6
  330.  
  331.  
  332.           COMMAND SUMMARY
  333.  
  334.           IMPORTANT NOTE:  WRITE PROTECT YOUR FLOPPY DISK BEFORE SCANNING
  335.                            TO PREVENT INFECTION OF THE OS2SCAN PROGRAM.
  336.  
  337.                OS2SCAN checks files and other areas of the system that
  338.           can contain a computer virus.  When a virus is found, OS2SCAN
  339.           identifies the virus and the file or system area where it was
  340.           found.
  341.                OS2SCAN examines files based on their extension.  The default
  342.           extensions supported by OS2SCAN are .APP, .BIN, .COM, .EXE,
  343.           .OV?, .PGM, .PIF, .PRG, .SWP, .SYS, and .XTP.  Additional
  344.           extensions can be added with the /E option, or use the /A to
  345.           check all files.
  346.  
  347.  
  348.           Valid options for OS2SCAN are:
  349.  
  350.                            OS2SCAN {drive(s)} {options}
  351.  
  352.           {drive(s)}       - Indicates a drive or drives to be scanned
  353.  
  354.           Options are:
  355.  
  356.           \                - Scan root directory and boot area only
  357.           /? /H or /HELP   - Displays help screen
  358.           /A               - Scan all files, including data, for viruses
  359.           /AD              - Scan all local drives for viruses
  360.           /AF {filename}   - Store recovery & validation data to {filename}
  361.           /AG {filename}   - Add recovery & validation data to files
  362.                               EXCEPT for those listed in {filename}
  363.           /AV {filename}   - Add validation codes to files EXCEPT for
  364.                               those listed in {filename}
  365.           /BELL            - Beep whenever a virus is found
  366. *         /BMP             - Scan OS/2 Boot Manager Partition ONLY
  367.           /CERTIFY         - List files that do not have a validation code
  368.           /CF {filename}   - Check for viruses using recovery & validation
  369.                               data stored in {filename}
  370.           /CG              - Check recovery & validation data on files
  371.           /CV              - Check validation codes on files
  372.           /D               - Overwrite and delete infected files
  373.           /DATE            - Save the date and time OS2SCAN was last run
  374.                               (use /SHOWDATE to display)
  375.           /E .xxx .yyy     - Scan overlay extensions .XXX and .YYY
  376.           /EXT {filename}  - Scan using external virus data from {filename}
  377.           /FAST            - Speed up OS2SCAN's output
  378.                               (see below for specifics)
  379.           /HISTORY {fname} - Create infection log {fname} appending to old log
  380.  
  381.  
  382.  
  383.  
  384. OS2SCAN FOR OS/2 Version 9.15V104                         Page 7
  385.  
  386.  
  387.           /MANY            - Scan multiple disks
  388.           /NLZ             - Skip internal scan of LZEXE-compressed files
  389.                               (DOS executables only)
  390.           /NOBREAK         - Disable Ctrl-C and Ctrl-Brk during scanning
  391.           /NOEXPIRE        - Do not display expiration notice
  392.           /NOPAUSE         - Disable screen pause when scanning
  393.           /NPKL            - Skip internal scan of PKLITE-compressed files
  394.                               (DOS executables only)
  395.           /REPORT {fname}  - Create infection log {fname} deleting the old log
  396.           /RF filename     - Remove recovery & validation data stored
  397.           /RG              - Remove recovery & validation data from files
  398.           /RV              - Remove validation codes from specified files
  399.           /SAVE            - Save specified options as new default options
  400.           /SHOWDATE        - Display the date and time OS2SCAN was last run
  401.                               (use /DATE to save date and time)
  402.           /SUB             - Scan all subdirectories inside a subdirectory
  403.           @{filename}      - Scan using options from {filename}
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.  
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.           *Denotes new option added in this release
  435.  
  436.  
  437.  
  438.  
  439. OS2SCAN FOR OS/2 Version 9.15V104                         Page 8
  440.  
  441.  
  442.           OPTIONS
  443.  
  444.                Following is a detailed description of OS2SCAN's options.
  445.           Please note the /AF and /AG switches modify executable files.
  446.           This may cause other anti-viral programs to generate a warning.
  447.  
  448.           /A - This option checks all files on the drive scanned and also
  449.           examines a greater portion of files.  This substantially
  450.           increases the time required to scan disks and also increases
  451.           OS2SCAN's ability to detect viruses in overlay files.  It is
  452.           recommended this switch only be used when installing software
  453.           or if a file-infecting virus has been found.  This option takes
  454.           priority over the /E option.
  455.  
  456.           /AD - This option scans all local hard disk drives for viruses.
  457.           No drives need to be listed when the /AD switch is used.
  458.  
  459.           NOTE:  If network drives exist, OS2SCAN will attempt to access
  460.                  them when run with the /AD switch and fail.
  461.  
  462.           /AF {filename} - This option logs recovery and validation
  463.           data for .COM and .EXE files, boot sector, and partition table
  464.           of a disk to a user-specified file.  The log file size is about
  465.           20Kb per 1,000 files validated.  Recovery from a virus using the
  466.           /AF information requires the CLEAN-UP program.
  467.  
  468.           /AG {filename} - This option allows the user to store recovery
  469.           and validation data for .COM and .EXE files, boot sector, and
  470.           partition table of a disk.  Recovery information adds 52 bytes
  471.           to files.  The recovery information for the partition table,
  472.           boot sector, COMMAND.COM and system files is stored separately
  473.           in a hidden file called SCANVAL.VAL in the root directory of the
  474.           drive being scanned.  {filename} is an optional ASCII text file
  475.           listing files NOT to add recovery and validation data to (see
  476.           NOTE below).  Recovery from a virus using the /AG information
  477.           requires the CLEAN-UP (CLEAN.EXE) program.
  478.  
  479.           /AV {filename} - This option allows the user to store validation
  480.           codes for .COM and .EXE files, boot sector, and partition table
  481.           of a disk.  Validation information adds 10 bytes to files.  The
  482.           validation codes for the partition table, boot sector, system
  483.           files and COMMAND.COM is stored separately in a hidden file
  484.           named SCANVAL.VAL in the root directory of the drive being
  485.           scanned.  {filename} is an optional ASCII text file listing the
  486.           files NOT to add validation codes to (see note below).
  487.  
  488.  
  489.  
  490.  
  491.  
  492.  
  493.  
  494. OS2SCAN FOR OS/2 Version 9.15V104                         Page 9
  495.  
  496.  
  497.           NOTE:  Files which are immunized against viruses or contain
  498.                  self-modifying code should not have validation codes
  499.                  added to them.  To prevent OS2SCAN from adding validation
  500.                  codes to these files, a validation exception list must be
  501.                  created with the path and filename of each file NOT to be
  502.                  validated listed on each line (only one filename for each
  503.                  line).  To put a comment in, start the line with an "*"
  504.                  character.  This sample file contains a list of programs
  505.                  NOT to validate:
  506.  
  507.           *LIST OF FILES NOT TO USE /AV OR /AG OPTIONS WITH
  508.           *
  509.           *This is Nantucket Corp's database program, Clipper
  510.           D:\CLIPPER\BIN\CLIPPER.EXE
  511.           *This is Lotus Development Corp's spreadsheet program, 1-2-3
  512.           D:\123\123.COM
  513.           *This is MS-DOS 5.00's self-modifying program, SETVER
  514.           D:\DOS\SETVER.EXE
  515.           *PKWare's data compression programs already perform a self-check
  516.           D:\PKWARE\PKLITE.EXE
  517.           D:\PKWARE\PKZIP.EXE
  518.           D:\PKWARE\PKUNZIP.EXE
  519.           *Stac Technologies hard disk swapping program
  520.           D:\SWAPVOL.COM
  521.           *Symantec's Norton Utilities V6.01 disk caching program
  522.           D:\NORTON\NCACHE.EXE
  523.           *WordStar Corp's word processor is self-modifying
  524.           D:\WORDSTAR\WS.EXE
  525.  
  526.                The validation exception list should be an ASCII or DOS
  527.           text file.  If a word processor is used to create the list, be
  528.           sure to save the file as ASCII or DOS Text.
  529.  
  530.           /BELL - This option tells OS2SCAN to beep when a virus is found.
  531.  
  532.           /BMP - This option tells OS2SCAN to check the OS/2 Boot Manager
  533.           partition.  When run with this option, OS2SCAN will check the
  534.           Boot Manager partition and boot sector.
  535.  
  536.           /CERTIFY -  This option will audit a system for files that have
  537.           validation codes added to them with the /AG or /AV switches.
  538.           Files that have no validation code will be reported as being
  539.           uncertified by OS2SCAN.
  540.  
  541.           /CF {filename} - This option checks recovery and validation data
  542.           stored by the /AF option in {filename}.  If a file or system
  543.           area has changed, OS2SCAN reports that a viral infection may
  544.           have occurred.  Using the /CG option adds about 25% more time to
  545.           scanning.
  546.  
  547.  
  548.  
  549. OS2SCAN FOR OS/2 Version 9.15V104                         Page 10
  550.  
  551.  
  552.           /CG - This options checks recovery and validation data added by
  553.           the /AG option.  If a file or system area has changed, OS2SCAN
  554.           reports that a viral infection may have occurred.  Using the /CG
  555.           option adds about 25% more time to scanning.  This option takes
  556.           priority over the /CV option.
  557.  
  558.           /CV - This option checks validation codes inserted by the /AV
  559.           option.  If a file or system area has been changed, OS2SCAN will
  560.           report that the file or system area has been modified and a
  561.           viral infection may have occurred.  Using the /CV option adds
  562.           about 20% more time to scanning.
  563.  
  564.           NOTE:  Dual Boot systems change the Boot Sector between DOS and
  565.                  OS/2 depending on which operating system is currently
  566.                  active.  This will cause OS2SCAN to report that the boot
  567.                  sector has been modified.
  568.  
  569.           /D - This option tells OS2SCAN to prompt the user to overwrite
  570.           and delete an infected files.  Files erased by the /D option
  571.           can not be recovered.  If the CLEAN-UP program is available,
  572.           it can be used to disinfect the file.  Partition table and boot
  573.           sector viruses can not be removed by the /D option and require
  574.           the CLEAN-UP virus removal program.
  575.  
  576.           /DATE - This option stores the time and date OS2SCAN was last
  577.           executed.  This is done by changing the date on the SCANVAL.VAL
  578.           file.  If no SCANVAL.VAL file exists, OS2SCAN will create a 0-byte
  579.           long file in the currently-logged directory.
  580.  
  581.           /E .xxx .yyy - This option allows an additional extension or set
  582.           extensions to be scanned.  Extensions should include a period "."
  583.           character and be separated by a space after the /E.  Up to three
  584.           extensions may be added with the /E.  For more extensions, use
  585.           the /A option instead.
  586.  
  587.           /EXT {filename} - This option tells OS2SCAN to search for viruses
  588.           using virus search strings from ASCII text file {filename}, in
  589.           addition to the viruses that OS2SCAN looks for.  For instructions
  590.           creating an external virus data file, refer to Appendix A.
  591.  
  592.           NOTE:  The /EXT option provides users with the ability to add
  593.                  strings for detection of viruses on an interim or
  594.                  emergency basis.  When used with the /D option, it will
  595.                  overwrite-and-delete infected files.  This option is not
  596.                  for general use and should be used with caution.
  597.  
  598.  
  599.  
  600.  
  601.  
  602.  
  603.  
  604. OS2SCAN FOR OS/2 Version 9.15V104                         Page 11
  605.  
  606.  
  607.           /FAST - This option speeds OS2SCAN up by displaying less on the
  608.           the screen, skipping checking inside of LZEXE- and PKLITE-
  609.           compressed files (DOS only), and examining a smaller portion of
  610.           files during scanning.  This may reduce the accuracy of OS2SCAN.
  611.  
  612.           /HISTORY {filename} - This option saves the output of OS2SCAN
  613.           to {filename} in ASCII text file format.  If {filename} exists,
  614.           OS2SCAN will add the results of the current scan to the end.
  615.  
  616.           /MANY - This option is used to scan multiple diskettes placed
  617.           in a given drive.  If the user has more than one floppy disk to
  618.           check for viruses, the /MANY option will allows the user to
  619.           check disks without having to re-run OS2SCAN multiple times. 
  620.  
  621.           /NLZ - This option tells OS2SCAN not to look inside files
  622.           compressed with LZEXE, a file compression program for DOS
  623.           .EXE files.  OS2SCAN will still check LZEXE-compressed files for
  624.           viruses that may have become infected after LZEXE compression.
  625.  
  626.           /NOBREAK - This option prevents Ctrl-C or Ctrl-Brk from aborting
  627.           the scanning process.
  628.  
  629.           /NOEXPIRE - This option prevents OS2SCAN from displaying a
  630.           warning message after 7 months warning that it may no longer be
  631.           current with respect to known computer viruses.
  632.  
  633.           /NOPAUSE - This option disables the "More? (H = Help )" prompt
  634.           displayed when OS2SCAN fills up a screen with 24 lines of text.
  635.           This allows OS2SCAN to run on PC's with severe infections without
  636.           requiring operator assistance.
  637.  
  638.           /NPKL - This option tells OS2SCAN not to look inside files
  639.           compressed with PKLITE, a file compression program for DOS .EXE
  640.           files.  OS2SCAN will still check PKLITE-compressed files for
  641.           viruses that may have become infected after PKLITE compression.
  642.  
  643.           /REPORT {filename} - This option saves the output of OS2SCAN
  644.           to {filename} in ASCII text file format.  If {filename} exists,
  645.           OS2SCAN will erase it and replace with the current scan results.
  646.  
  647.           /RF {filename} - This option removes recovery and validation
  648.           data from log file {filename} created by the /AF option.
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.  
  659. OS2SCAN FOR OS/2 Version 9.15V104                         Page 12
  660.  
  661.  
  662.           /RG - This option removes validation and recovery data from a
  663.           file or files validated with the /AG option.  Using the /RG
  664.           switch against a drive removes the SCANVAL.VAL file.  This
  665.           option can not be used with the /AG option.
  666.  
  667.           /RV - This option removes validation codes from a file or files
  668.           validated with the /AV option.  Using the /RV switch against a
  669.           drive removes the SCANVAL.VAL file.  This option can not
  670.           be used with the /AV option.
  671.  
  672.           /SAVE - This option stores any listed options for subsequent
  673.           executions of OS2SCAN.  The options are stored by creating a
  674.           file named OS2SCAN.INI in the same directory as OS2SCAN.EXE.  For
  675.           example, the command:
  676.  
  677.                OS2SCAN /NOMEM /REPORT C:\OS2SCAN.LOG /NOPAUSE /SAVE
  678.  
  679.           saves the default options to /NOMEM, /REPORT C:\OS2SCAN.LOG and
  680.           /NOPAUSE and will cause OS2SCAN to use these options the next
  681.           time it is run.  If OS2SCAN is run with only the /SAVE switch,
  682.           the OS2SCAN.INI file is removed.  If you wish to use more than one
  683.           set of switches with OS2SCAN, use the @{filename} option
  684.           instead.
  685.  
  686.           /SHOWDATE - This option displays the time and date OS2SCAN was
  687.           last run.  No virus checking is performed.
  688.  
  689.           NOTE:  When run with /SHOWDATE, OS2SCAN only displays the last run
  690.                  date.  Viruses will *NOT* be checked for.
  691.  
  692.           /SUB - This option scans all subdirectories inside a
  693.           subdirectory.  Previously, OS2SCAN would only recursively check
  694.           subdirectories if a drive was scanned at the root level (e.g.,
  695.           C:).  Do not use the /SUB switch if you are scanning a drive
  696.           from the root level.
  697.  
  698.           @{filename} - This option allows the user to run OS2SCAN with
  699.           a configuration file listing the options and drives OS2SCAN is
  700.           to check.  Options need to be separated by a space, while drives
  701.           (disks, subdirectories, or files) need to be listed on separate
  702.           lines.  A sample file might look like this:
  703.  
  704.           /A /BELL /CV /REPORT C:\OS2SCAN\OS2SCAN.LOG
  705.           C:
  706.  
  707.           The first line contains the OS2SCAN options while other lines
  708.           list the names of disks, subdirectories, or files to scan.  The
  709.           file should be an ASCII text file.  
  710.  
  711.  
  712.  
  713.  
  714. OS2SCAN FOR OS/2 Version 9.15V104                         Page 13
  715.  
  716.  
  717.           EXIT CODES
  718.  
  719.                After OS2SCAN has finished running, it will set the
  720.           ERRORLEVEL.  ERRORLEVEL's are used in REXX scripts to pass on
  721.           the results of a program's actions.  The ERRORLEVEL's returned
  722.           by OS2SCAN are:
  723.  
  724.                ERRORLEVEL │ DESCRIPTION
  725.                ═══════════╪══════════════════════════════════════════════
  726.                    0      │ No viruses found
  727.                    1      │ One or more viruses found
  728.                    2      │ Abnormal termination (program error)
  729.                    3      │ One or more uncertified files found
  730.                    4      │ Ctrl-C or Ctrl-Break aborted scan
  731.  
  732.           If a user stops the scanning process, OS2SCAN will set the
  733.           ERRORLEVEL to 4.  If you wish to prevent users from stopping the
  734.           scanning process, then run OS2SCAN with the /NOBREAK option.
  735.  
  736.  
  737.  
  738.  
  739.  
  740.  
  741.  
  742.  
  743.  
  744.  
  745.  
  746.  
  747.  
  748.  
  749.  
  750.  
  751.  
  752.  
  753.  
  754.  
  755.  
  756.  
  757.  
  758.  
  759.  
  760.  
  761.  
  762.  
  763.  
  764.  
  765.  
  766.  
  767.  
  768.  
  769. OS2SCAN FOR OS/2 Version 9.15V104                         Page 14
  770.  
  771.  
  772.           EXAMPLES
  773.  
  774.                The following examples show different option settings:
  775.  
  776.                OS2SCAN C:
  777.                    To scan drive C:
  778.  
  779.                OS2SCAN A:R-HOOPER.EXE
  780.                    Scans file "R-HOOPER.EXE" on drive A:
  781.  
  782.                OS2SCAN A: /A /CV
  783.                    Scans all files and checks validation codes for unknown
  784.                    viruses on drive A:.
  785.  
  786.                OS2SCAN B: /D /A
  787.                    Scans all files on drive B: and prompt for erasure of
  788.                    any infected files, if found.
  789.  
  790.                OS2SCAN C: D: E: /AV
  791.                    Scan for viruses, add validation codes to files on
  792.                    drives C:, D:, and E:.
  793.  
  794.                OS2SCAN C: D: /A /FR
  795.                    Scan all files on drives C: and D: for viruses, and
  796.                    display all messages in French.
  797.  
  798.                OS2SCAN C: D: /E .WPM .COD
  799.                    Scans drives C: and D:, including .WPM and .COD files 
  800.  
  801.                OS2SCAN C: /EXT D:\SAMPLE_VIRUSSTRING.TXT /BELL
  802.                    To scan drive C: for known computer viruses and also
  803.                    for viruses added by the user via the external virus
  804.                    data file option, and beep whenever a virus is found.
  805.  
  806.                OS2SCAN C: /NOPAUSE /REPORT G:INFECTION_REPORT.DRIVEC
  807.                    To scan drive C: without stopping, and create a log
  808.                    file INFECTION_REPORT.DRIVEC on drive G:
  809.  
  810.                OS2SCAN E:\DOWNLOADS /SUB
  811.                    To scan all subdirectories under the directory
  812.                    DOWNLOADS on drive E:
  813.  
  814.                OS2SCAN C: D: E: /FAST /CERTIFY
  815.                    To perform a fast scan of drives C:, D:, and E: and
  816.                    check for any files that do not have validation codes.
  817.  
  818.                OS2SCAN @C:\SCANOPTN.LST
  819.                    To run OS2SCAN using configuration file SCANOPTN.LST
  820.                    located in the root directory of drive C:.
  821.  
  822.                OS2SCAN /AD
  823.                     Scan all hard drive partitions for viruses.
  824. OS2SCAN FOR OS/2 Version 9.15V104                         Page 15
  825.  
  826.  
  827.           VIRUS REMOVAL
  828.  
  829.                What do you do if a virus is found?  You can contact McAfee
  830.           Associates for help, their authorized agents, or use the CLEAN-UP
  831.           program.  CLEAN-UP is available for DOS (CLEAN.EXE) and OS/2
  832.           (OS2CLEAN.EXE).
  833.  
  834.                McAfee Associates can be reached by BBS, CompuServe, FAX,
  835.           Internet, or Telephone and there is no charge for support calls
  836.           to McAfee Associates (Authorized agents may charge normal McAfee
  837.           Associates consulting rates.).
  838.  
  839.                The CLEAN-UP universal virus disinfection program can
  840.           disinfect virtually all reported computer viruses.  It is
  841.           updated with each release of the OS2SCAN program to remove new
  842.           viruses.  CLEAN-UP can be downloaded from McAfee Associates'
  843.           BBS, the McAfee Virus Help Forum on CompuServe, and the
  844.           mcafee.COM and WSMR-SIMTEL20.Army.Mil sites on the Internet, or
  845.           from any of the agents' BBSes listed in the enclosed AGENTS.TXT
  846.           text file.
  847.  
  848.                It is strongly recommended that you get experienced help in
  849.           dealing with viruses if you are unfamiliar with anti-virus
  850.           software and methods.  This is especially true for 'critical'
  851.           viruses and partition table/boot sector infecting viruses as
  852.           improper removal of these viruses can result in the loss of
  853.           all data and the use of the infected disk(s).  
  854.  
  855.                Before removing a boot sector or partition table-infecting
  856.           virus, it is recommended that you cold boot the infected PC from
  857.           a clean DOS disk and backup any critical data.
  858.  
  859.                For qualified assistance in removing a virus, contact
  860.           McAfee Associates directly or any of the Authorized Agents in
  861.           your area.  Agents may charge McAfee Associates' normal consult
  862.           rates for their services.
  863.  
  864.                If you wish to remove a file-infecting virus manually, cold
  865.           boot the PC from a clean (virus-free) OS/2 boot diskette and run
  866.           OS2SCAN with the /A and /D switches to erase all infected files.
  867.           Any files removed in this manner can not be recovered.
  868.  
  869.  
  870.  
  871.  
  872.  
  873.  
  874.  
  875.  
  876.  
  877.  
  878.  
  879. OS2SCAN FOR OS/2 Version 9.15V104                         Page 16
  880.  
  881.  
  882.           REGISTRATION
  883.  
  884.                A registration fee of US$35.00 is required for the use of
  885.           OS2SCAN by individual home users.  Registration entitles the
  886.           holder to unlimited free upgrades from McAfee Associates' BBS,
  887.           the Internet, and the McAfee Virus Help Forum on CompuServe as
  888.           well as technical support for one year.  When registering, a
  889.           diskette containing the latest version may be requested for an
  890.           additional US$9.00.  Only one diskette mailing will be made.
  891.  
  892.                Registration is for home users only and does not apply to
  893.           businesses, corporations, organizations, government agencies, or
  894.           schools, which must obtain a license for use.  Contact McAfee
  895.           Associates directly or an Authorized Agent for more information.
  896.  
  897.  
  898.           TECH SUPPORT
  899.  
  900.                For fast and accurate help, please have the following
  901.           information ready when you contact McAfee Associates:
  902.  
  903.                -    Program name and version number.
  904.  
  905.                -    Type and brand of computer, hard disk, plus any
  906.                     peripherals.
  907.  
  908.                -    Version of OS/2 (use the SYSLEVEL command to determine)
  909.                     plus any device drivers in use.
  910.  
  911.                -    Printouts of your AUTOEXEC.BAT and CONFIG.SYS files.
  912.  
  913.                -    The exact problem you are having.  Please be as
  914.                     specific as possible.  Having a printout of the
  915.                     screen and/or being at your computer will be helpful.
  916.  
  917.           McAfee Associates can be contacted by BBS, CompuServe, FAX, or
  918.           InterNet 24 hours a day, or by telephone at (408) 988-3832,
  919.           Monday through Friday, 7:00AM to 5:30PM Pacific Time.
  920.  
  921.                If you are overseas, you can contact a McAfee Associates
  922.           Authorized Agent.  Agents are located in over 50 countries
  923.           around the world and provide local sales and support for our
  924.           software.  Please refer to the AGENTS.TXT file for a complete
  925.           list of McAfee Associates Agents.
  926.  
  927.  
  928.  
  929.  
  930.  
  931.  
  932.  
  933.  
  934. OS2SCAN FOR OS/2 Version 9.15V104                         Page 17
  935.  
  936.  
  937.           OBTAINING THE LATEST VERSION OF McAFEE ASSOCIATES PROGRAMS
  938.  
  939.                McAfee Associates regularly updates the OS2SCAN series
  940.           of programs every 4 to 6 weeks to add new virus detectors,
  941.           new options, and fix reported bugs.  To distribute these new
  942.           versions, we run a multi-line BBS, CompuServe Forum, and
  943.           Internet node.
  944.  
  945.           BBS ACCESS
  946.  
  947.                Our 25-line BBS is accessible 24 hours a day, 365 days a
  948.           year, except for scheduled downtime and maintenance.  All lines
  949.           run US Robotics Courier HST Dual Standard ASL modems operating
  950.           from 1,200bps to 14,400bps with line settings of 8 data bits, no
  951.           parity, and one stop bit.
  952.  
  953.  
  954.           THE McAFEE VIRUS HELP FORUM ON COMPUSERVE
  955.  
  956.                We are now sponsoring the McAfee Virus Help Forum on
  957.           CompuServe.  To reach the McAfee Virus Help Forum type GO MCAFEE
  958.           at any CompuServe prompt.  A free introductory membership is
  959.           available.  For more information, please read the enclosed
  960.           COMPUSER.NOT file.
  961.  
  962.  
  963.           INTERNET ACCESS TO McAFEE ASSOCIATES SOFTWARE
  964.  
  965.                The latest versions of McAfee Associates' anti-viral
  966.           software is now available by anonymous ftp (file transfer
  967.           protocol over the Internet from the site mcafee.COM.  If
  968.           your domain resolver does not support names, use the IP#
  969.           192.187.128.1.  Enter "anonymous" for your user I.D. and
  970.           your own email address for the password.  Programs are
  971.           located in the pub/antivirus directory.  If you have any
  972.           questions, please send email to support@mcafee.COM
  973.  
  974.                 McAfee Associates' DOS-based anti-viral software may also
  975.           be found at the Simtel20 archive site WSMR-SIMTEL20.Army.MIL
  976.           in the PD1:<MSDOS.VIRUS> directory and its associated
  977.           mirror sites WUARCHIVE.WUSTL.EDU (US), NIC.SWITCH.CH (Swiss),
  978.           NIC.FUNET.FI (Finland), SRC.DOC.IC.AC (UK), and
  979.           ARCHIE.AU (Australia).
  980.  
  981.  
  982.  
  983.  
  984.  
  985.  
  986.  
  987.  
  988.  
  989. OS2SCAN FOR OS/2 Version 9.15V104                         Page 18
  990.  
  991.  
  992.           APPENDIX A:  Creating a Virus String File with the /EXT Option
  993.  
  994.           NOTE:  The /EXT option is intended for emergency and research
  995.                  use only.  It is a temporary method for identifying new
  996.                  viruses prior to the subsequent release of OS2SCAN.  A
  997.                  thorough understanding of viruses and string-search
  998.                  techniques is advised for using this option.  A string
  999.                  length of 10 to 15 bytes is recommended.
  1000.  
  1001.                The External Virus Data file should be created with an
  1002.           editor or a word processor and saved as an ASCII text file.  Be
  1003.           sure each line ends with a Carriage Return/Line Feed pair.
  1004.  
  1005.  
  1006.                The virus string file uses the following format:
  1007.  
  1008.           #Comment about Virus_1
  1009.           "aabbccddeeff..." Virus_1_Name
  1010.           #Comment about Virus_2
  1011.           "gghhiijjkkll..." Virus_2_Name
  1012.                .
  1013.                .
  1014.           "uuvvwwxxyyzz..." Virus_n_Name
  1015.  
  1016.  
  1017.           Where aa, bb, cc, etc. are the hexadecimal bytes that you wish
  1018.           to scan for.  Each line in the file represents one virus.  The
  1019.           Virus Name for each virus is mandatory, and may be up to 25
  1020.           characters in length.  The double quotes (") are required at the
  1021.           beginning and end of each hexadecimal string.
  1022.                OS2SCAN will use the string file to search the Master Boot
  1023.           Record (partition table), Boot Sector, System files, all .COM
  1024.           and .EXE files, and overlay files with the extension .APP, .BIN,
  1025.           .COM, .EXE, .OV?, .PGM, .PIF, .PRG, .SWP, .SYS, and .XTP.
  1026.                Virus strings may contain wild cards.  The two wildcard
  1027.           options are:
  1028.  
  1029.           FIXED POSITION WILDCARD
  1030.                The question mark "?" may be used to represent a wildcard
  1031.           in a fixed position within the string.  For example, the string:
  1032.  
  1033.                              "E9 7C 00 10 ? 37 CB"
  1034.  
  1035.           would match "E9 7C 00 10 27 37 CB", "E9 7C 00 10 9C 37 CB", or
  1036.           any other similar string, regardless of the fifth byte.
  1037.  
  1038.  
  1039.  
  1040.  
  1041.  
  1042.  
  1043.  
  1044. OS2SCAN FOR OS/2 Version 9.15V104                         Page 19
  1045.  
  1046.  
  1047.           RANGE WILDCARD
  1048.  
  1049.                The asterisk "*", followed by range number in parentheses
  1050.           "(" and ")" is used to represent a variable number of adjoining
  1051.           random bytes.  For example, the string:
  1052.  
  1053.                              "E9 7C *(4) 37 CB"
  1054.  
  1055.           would match "E9 7C 00 37 CB", "E9 7C 00 11 37 CB", and
  1056.           "E9 7C 00 11 22 37 CB".  The string "E9 7C 00 11 22 33 44 37 CB"
  1057.           would not match since the distance between 7C and 37 is greater
  1058.           than four bytes.  You may specify a range of up to 99 bytes.
  1059.           Up to 10 different wildcards of either kind may be used in one
  1060.           virus string.
  1061.  
  1062.  
  1063.           COMMENTS
  1064.                A pound sign "#" at the beginning of a line will denote a
  1065.           comment.  Use this for adding notes to the external virus data
  1066.           file.  For example:
  1067.  
  1068.                              #New .COM virus found in file FRITZ.EXE from
  1069.                              #Schneiderland on 01-22-91
  1070.                              "53 48 45 45 50" Fritz-1 [F-1]
  1071.  
  1072.           gives a description of the virus, name of the infected file,
  1073.           where and when it was found, etc.
  1074.  
  1075.  
  1076.           APPENDIX B:  Miscellaneous Application Notes
  1077.  
  1078.  
  1079.           OS2SCAN VALIDATION CODES
  1080.  
  1081.                If you have installed any new software or programs on your
  1082.           system, and are running OS2SCAN or VSHIELD for DOS with the /CF,
  1083.           /CG, or /CV validation codes options, you will need to reinstall
  1084.           validation codes to the new files with the /AF, /AG, or /AV
  1085.           add validation codes options of OS2SCAN.  In addition, the
  1086.           SCANVAL.VAL hidden file containing validation codes for the
  1087.           partition table, boot sector, COMMAND.COM, and system files may
  1088.           have to be replaced (unhide the file with the ATTRIB command
  1089.           and then delete it).
  1090.                The quickest way to update the validation codes is to
  1091.           remove all validation codes from the hard disk and then add them
  1092.           back by running OS2SCAN with the /RV and then the /AV options.
  1093.  
  1094.           NOTE: This applies to any new version of DOS, as well as any
  1095.                 programs which you install on your system.
  1096.  
  1097.  
  1098.  
  1099. OS2SCAN FOR OS/2 Version 9.15V104                                Page 20
  1100.  
  1101.  
  1102. IMPORTANT NOTICE - PLEASE READ!
  1103.  
  1104.           Due to the nature of anti-virus software, the slight chance
  1105.           exists that a virus may be reported in a file that is not
  1106.           infected by that virus.
  1107.  
  1108.           If you receive a report of a virus infection which you believe
  1109.           may be in error, please contact McAfee Associates by telephone
  1110.           at (408) 988-3832, by fax at (408) 970-9727, or upload the file
  1111.           to our BBS at (408) 988-4004 along with your name, address,
  1112.           daytime telephone number, and electronic mail address, if any.
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126.  
  1127.  
  1128.  
  1129.  
  1130.  
  1131.  
  1132.  
  1133.  
  1134.  
  1135.  
  1136.  
  1137.  
  1138.  
  1139.  
  1140.  
  1141.  
  1142.  
  1143.  
  1144.  
  1145.  
  1146.  
  1147.  
  1148.  
  1149.  
  1150.  
  1151.  
  1152.  
  1153.  
  1154.  
  1155.